package com.dis.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "用户分页查询DTO")
public class UserPageQueryDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("页码")
    private int page = 1;

    @ApiModelProperty("每页记录数")
    private int pageSize = 10;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("角色编码")
    private String roleCode;
} 